package com.chinasoft.sunsenping;

import com.chinasoft.teacher.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class SunSenPing implements TrueWord {

    public SunSenPing() {
        wordList.add("没饭吃  ！");
        wordList.add("没热水  ！");
    }

    List<String> wordList = new ArrayList<String>();
    Random random = new Random();

    @Override
    public String getName() {
        return "SunSenPing";
    }

    @Override
    public String getWords() {
        int index = random.nextInt(wordList.size());
        return wordList.get(index);
    }
}
